//
//  File.swift
//  TTCOM
//
//  Created by Toj on 4/20/23.
//

import Foundation

public extension CGRect {
    
    static let fullScreen = CGRect(origin: .zero, size: .sr_size)
    
    init(
        fullWidth
        x: CGFloat = 0,
        y: CGFloat = 0,
        height: CGFloat
    ) {
        self.init(x: x, y: y, width: .dv_width, height: height)
    }
    
    init(
        fullHeight
        x: CGFloat = 0,
        y: CGFloat = 0,
        width: CGFloat
    ) {
        self.init(x: x, y: y, width: width, height: .dv_height)
    }
}
